//
//  CinemaListTableViewCell.m
//  UI-豆瓣项目APP
//
//  Created by dllo on 15/9/8.
//  Copyright (c) 2015年 孙鹏. All rights reserved.
//

#import "CinemaListTableViewCell.h"

@implementation CinemaListTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        [self creatSubviews];
        
        
    }
    return self;
    
}



- (void)creatSubviews
{
    
    self.cinema = [[UILabel alloc]initWithFrame:CGRectMake(5, 0, 375, 40)];
    [self addSubview:self.cinema];
    self.cinema.backgroundColor = [UIColor blueColor];
    [_cinema release];
    
    
    self.address = [[UILabel alloc]initWithFrame:CGRectMake(5, 45, 375, 50)];
    self.address.backgroundColor = [UIColor yellowColor];

    [self addSubview:self.address];
    [_address release];
    
    
    self.phoneNum = [[UILabel alloc]initWithFrame:CGRectMake(5, 105, 375, 20)];
    
    self.phoneNum.backgroundColor = [UIColor cyanColor];
    
    [self addSubview:self.phoneNum];
    [_phoneNum release];
    
    
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
